package com.ruoyi.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 admin
 * 
 * @author ruoyi
 * @date 2022-05-24
 */
public class Admin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 登录密码 */
    @Excel(name = "登录密码")
    private String password;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 权限ID */
    @Excel(name = "权限ID")
    private Integer qid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long addtime;

    /** 是否封号 -1否，1是 */
    @Excel(name = "是否封号 -1否，1是")
    private Long isColse;

    /** 随机数，加密用 */
    @Excel(name = "随机数，加密用")
    private String random;

    /** 是否显示，0不显示，1显示 */
    @Excel(name = "是否显示，0不显示，1显示")
    private Long isShow;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long adminId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long creator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setQid(Integer qid) 
    {
        this.qid = qid;
    }

    public Integer getQid() 
    {
        return qid;
    }
    public void setAddtime(Long addtime) 
    {
        this.addtime = addtime;
    }

    public Long getAddtime() 
    {
        return addtime;
    }
    public void setIsColse(Long isColse) 
    {
        this.isColse = isColse;
    }

    public Long getIsColse() 
    {
        return isColse;
    }
    public void setRandom(String random) 
    {
        this.random = random;
    }

    public String getRandom() 
    {
        return random;
    }
    public void setIsShow(Long isShow) 
    {
        this.isShow = isShow;
    }

    public Long getIsShow() 
    {
        return isShow;
    }
    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }
    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("name", getName())
            .append("phone", getPhone())
            .append("qid", getQid())
            .append("addtime", getAddtime())
            .append("isColse", getIsColse())
            .append("random", getRandom())
            .append("isShow", getIsShow())
            .append("adminId", getAdminId())
            .append("creator", getCreator())
            .append("createDate", getCreateDate())
            .toString();
    }
}
